
namespace JTZY.Model.Business.Dto
{
    /// <summary>
    /// 商品浏览记录表查询对象
    /// </summary>
    public class CorecmsgoodsbrowsingQueryDto : PagerInfo 
    {
        public long userId { get; set; }
        public DateTime dateTime { get; set; }
        public long id { get; set; }

        public string areas { get; set; }
        public string userName { get; set; }

    }

    /// <summary>
    /// 商品浏览记录表输入输出对象
    /// </summary>
    public class CorecmsgoodsbrowsingDto
    {
        [Required(ErrorMessage = "ID不能为空")]
        public int Id { get; set; }

        [Required(ErrorMessage = "商品id 关联goods.id不能为空")]
        public int GoodsId { get; set; }

        [Required(ErrorMessage = "用户id不能为空")]
        public long UserId { get; set; }

        [Required(ErrorMessage = "商品名称不能为空")]
        public string GoodsName { get; set; }

        [Required(ErrorMessage = "创建时间不能为空")]
        public DateTime? CreateTime { get; set; }

        [Required(ErrorMessage = "删除标志不能为空")]
        public bool Isdel { get; set; }

        public long? GoodUserId { get; set; }

        public string UserName { get; set; }
        public bool IsBuy { get; set; }


        [ExcelColumn(Name = "删除标志")]
        public string IsdelLabel { get; set; }
    }

    public class UserVisitReportDto
    {

        public Corecmsuser user { get; set; }
        public int VisitCount { get; set; }
        public int UserCount { get; set; }
        public int newUserCount { get; set; }
        public int ReUserCount { get; set; }
        public int UnReUserCount { get; set; }
        public int OrderCount { get; set; }
        public string AreaNames { get; set; }
        public string UserName { get; set; }

        public string AccountCode { get; set; }
        public string saleManName { get; set; }

    }
}